<?php


	$sSQL   = "SELECT * FROM parishioner WHERE id = ".$_GET['id']."";
	$result = mysql_query($sSQL) or die ('Error, query failed');
	if (mysql_num_rows($result) > 0 )
	{
		if($row = mysql_fetch_assoc($result))
		{
			 $id        				= $row['id'];
			

			$parish_id	 = $row['parish_id'];
			$family_id	 = $row['family_id'];
			$baptismal_name	 = $row['baptismal_name'];
			$name	 = $row['name'];
			$family_position	 = $row['family_position'];
			$date_of_birth	 = $row['date_of_birth'];
			$baptism_date	 = $row['baptism_date'];
			$female	 = $row['female'];
			$baptism_date	 = $row['baptism_date'];
		    $confirmation_date	 = $row['confirmation_date'];
			$marriage_date	 = $row['marriage_date'];
			$holy_eucharist_details		 = $row['holy_eucharist_details	'];
			$religious_details	 = $row['religious_details'];
			$education	 = $row['education'];
			$occupation	 = $row['occupation'];			
			$place	 = $row['place'];			
			$religious_study	 = $row['religious_study'];			
			$education	 = $row['education'];			
			$occupation	 = $row['occupation'];			
			$place	 = $row['place'];			
			$parish_duties	 = $row['parish_duties'];			
			$annual_confession	 = $row['annual_confession'];			
			$death_details	 = $row['death_details'];			
			$name_father	 = $row['name_father'];			
			$name_mother	 = $row['name_mother'];			
			$name_wife	 = $row['name_wife'];			
			$phone_no	 = $row['phone_no'];	
			$mob_no	 = $row['mob_no'];
			$e_mail	 = $row['e_mail'];
			$blood_group	 = $row['blood_group'];
			
			$present_address	 = $row['present_address'];			
			$married	 = $row['married'];			
			$status	 = $row['status'];	
			$family_head	 = $row['family_head'];
			$represent_family	 = $row['represent_family'];
			$sort_order	 = $row['sort_order'];
			
			
			$special_attention	 = $row['special_attention'];
			$name_malayalam	 = $row['name_malayalam'];
			$married_and_reside	 = $row['married_and_reside'];
			$notes	 = $row['notes'];
			$family_name	 = $row['family_name'];
			$reg_no	 = $row['reg_no'];
			$group	 = $row['group'];


			
		}	
	}
?>
<style type="text/css">
#wpbody-content #dashboard-widgets #postbox-container-2, #wpbody-content #dashboard-widgets #postbox-container-3, #wpbody-content #dashboard-widgets #postbox-container-4{
float:left!important;width:50%!important;
}
</style>
<div xmlns="http://www.w3.org/1999/xhtml" class="wrap nosubsub">
  <div class="icon32" id="icon-edit"><br/>
  </div>
  <div class="wrap">
    <h2>User Informations</h2>
  
      <div id="dashboard-widgets" class="metabox-holder">

        <div id="postbox-container-3" class="postbox-container">
          <div id="normal-sortables" class="meta-box-sortables ui-sortable">
            <div id="dashboard_activity" class="postbox" style="display: block;">
              <h3 class="wp-menu-image dashicons-before dashicons-admin-users" style="border-bottom: 1px solid #eee;"><span> BASIC  INFORMATION</span></h3>
        
              <div class="inside">
                <div id="activity-widget">
                  <div id="published-posts" class="activity-block">
                    <table width="100%">
                      <tr>
                        <td width="38%" align="left"><h4>Name:</h4></td>
                        <td width="2%" align="center" valign="top"> </td>
                        <td width="60%" align="left"><h4>
                            <?php  echo $name;?>
                          </h4></td>
                      </tr>
                      <tr>
                        <td align="left"><h4>Baptismal Name:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $baptismal_name;?>
                          </h4></td>
                      </tr>
					  
					  <tr>
                        <td align="left"><h4>Father Name:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $name_father;?>
                          </h4></td>
                      </tr>
					  
					  <tr>
                        <td align="left"><h4>Mother Name:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $name_mother;?>
                          </h4></td>
                      </tr>
                      <tr>
                        <td align="left"><h4>Family Position	:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $family_position;?>
                          </h4></td>
                      </tr>
                      <tr>
                        <td align="left"><h4>Date of birth:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $date_of_birth;?>
                          </h4></td>
                      </tr>
                      <tr>
                        <td align="left"><h4>Confirmation Date:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $confirmation_date;?>
                          </h4></td>
                      </tr>
                    
                      
					  
					  
                    </table>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
     
      
		 <div id="postbox-container-3" class="postbox-container">
          <div id="normal-sortables" class="meta-box-sortables ui-sortable">
            <div id="dashboard_activity" class="postbox" style="display: block;">
              <h3 class="wp-menu-image dashicons-before dashicons-admin-users" style="border-bottom: 1px solid #eee;"><span> OTHER INFORMATION</span></h3>
        
              <div class="inside">
                <div id="activity-widget">
                  <div id="published-posts" class="activity-block">
                    <table width="100%">
                    
                      <tr>
                        <td align="left"><h4>Marriage Date:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $marriage_date;?>
                          </h4></td>
                      </tr>
                      <tr>
                        <td align="left"><h4>Education:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $education;?>
                          </h4></td>
                      </tr>
					  
					   <tr>
                        <td align="left"><h4>Occupation:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $occupation;?>
                          </h4></td>
                      </tr>
                      <tr>
                        <td align="left"><h4>Religious Study	:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $religious_study	;?>
                          </h4></td>
                      </tr>
					  
					  
					  <tr>
                        <td align="left"><h4>Phone :</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $phone_no;?>
                          </h4></td>
                      </tr>
					  <tr>
                        <td align="left"><h4>MObile No	:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $mob_no;?>
                          </h4></td>
                      </tr>
					  <tr>
                        <td align="left"><h4>Email	:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $e_mail;?>
                          </h4></td>
                      </tr>
					  <tr>
                        <td align="left"><h4>Blood Group	:</h4></td>
                        <td align="center" valign="top"> </td>
                        <td align="left"><h4>
                            <?php  echo $blood_group;?>
                          </h4></td>
                      </tr>
					  
					  
					  
					  
                    </table>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
  
  
	</div>
	
	
	
	
	
	
	
	
	
    <!-- dashboard-widgets-wrap --> 
    
  </div>
 
</div>
